﻿@model YGLAB_SON.Models.Journal

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Journal/_DergiLayout.cshtml";
}

<h2>Dergi Ekle</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Journal</legend>

        <div class="editor-label">
            @Html.Label("Dergi İsmi")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <div class="editor-label">
            @Html.Label("Dosya Yolu")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PathName)
            @Html.ValidationMessageFor(model => model.PathName)
        </div>

        <div class="editor-label">
            @Html.Label("Makale Sayısı")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ArticleNum)
            @Html.ValidationMessageFor(model => model.ArticleNum)
        </div>

        <div class="editor-label">
            @Html.Label("Bir Sonraki Yayın Tarihi")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NextPubDate)
            @Html.ValidationMessageFor(model => model.NextPubDate)
        </div>

        <p>
            <input type="submit" value="OLUŞTUR" />
        </p>
    </fieldset>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
